package com.jumi.microservice.common.constant;

/**
 * @Description 仓库库存占用类型
 * @ClassName StockOccupyTypeEnum
 * @Author Abel Yang
 * @Date 2020/10/14/014 13:20
 **/
public enum StockOccupyTypeEnum {
    //仓库库存占用类型
    TYPE_WAREHOUSE((byte) 1, "仓库占用"),
    TYPE_COMMODITY((byte) 0, "商城占用");

    private Byte type;
    private String desc;

    StockOccupyTypeEnum(Byte type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public Byte getType() {
        return type;
    }

    public String getDesc() {
        return desc;
    }
}
